package 继承.kindkid;

public class Kids extends ManKind {
    private int yearsOld;
    public Kids(){}
    public void setYearsOld(int yearsOld){
        this.yearsOld= yearsOld;
    }
    public void printAge(){
        System.out.println("我今年是"+yearsOld);
    }
}
